package com.wangzhy.financial.domain;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 部门预算对象 tb_dept_ys
 *
 * @author wangzhy
 * @date 2021-11-15
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("部门预算对象")
public class DeptYs extends BaseEntity
{
    private static final long serialVersionUID = -9031740995173882039L;
    /** 预算id */
    @ApiModelProperty("预算id")
    private String id;

    /** 配置表id */
    @Excel(name = "配置表id")
    @ApiModelProperty("配置表id")
    private String configId;

    /** 部门id */
    @Excel(name = "部门id")
    @ApiModelProperty("部门id")
    private String deptId;

    /** 状态，0未提交 1待审核 2审核通过 3审核拒绝 4退回 */
    @Excel(name = "状态，0未提交 1待审核 2审核通过 3审核拒绝 4退回")
    @ApiModelProperty("状态，0未提交 1待审核 2审核通过 3审核拒绝 4退回")
    private String status;

    /** 创建人 */
    @ApiModelProperty("创建人")
    @Excel(name = "创建人")
    private String creator;

    /** 前年年初预算 */
    @ApiModelProperty("前年年初预算")
    @Excel(name = "前年年初预算")
    private BigDecimal qiannianYs;

    /** 今年年初预算 */
    @ApiModelProperty("今年年初预算")
    @Excel(name = "今年年初预算")
    private BigDecimal qunianYs;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("configId", getConfigId())
            .append("deptId", getDeptId())
            .append("status", getStatus())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .append("qiannianYs", getQiannianYs())
            .append("qunianYs", getQunianYs())
            .toString();
    }
}
